#include <REGX52.H>
#include "Delay.H"
#include "Key.H"
#include "LCD1602.H"
#include "AT24C02.H"

unsigned char Date;

void main()
{
	LCD_Init();
	LCD_ShowString(1,1,"Hello");
	AT24C02_WriteByte(2,147);
	Delay(5);
	Date=AT24C02_ReadByte(1);
	LCD_ShowNum(2,1,Date,3);
	
	
	while(1)
	{
			
	}
}